<!DOCTYPE html>
<html lang="en">
<head>
    {%load static%}
    <meta charset="UTF-8">
    <title>资产管理系统</title>
    <link rel="stylesheet" href="{%static 'tower/css/bootstrap.min.css'%}">
    <script src="{%static 'tower/js/jquery-3.3.1.min.js'%}"></script>
    <link rel="stylesheet" href="{%static 'tower/模版.css'%}">
    <style>
        input{
            width: 200px;
            height:200px;
            background-color: #5bc0de;
            border-radius: 15%;
            margin: 50px;
            font-size: 40px;
            font-family: 楷体;
        }
    </style>
</head>
<body>
    <div class="container" id="ind_0">
        <!--顶部-->
        <div class="row" id="top_box">
            <div class="col-xs-3" id="log_01">
                <img src="{%static 'tower/images1/logo.png'%}" alt="">
            </div>
            <div class="col-xs-7" id="top_bar">
                资产管理系统
            </div>
        </div>
        <div class="row" id="center_box" style="text-align: center;padding-top: 50px">
{#            <img src="{%static 'tower/images1/bgc1.jpg'%}" alt="">#}
            <form action="" method="post" name="testForm">
                {% csrf_token %}
                <h1>楼房资源管理界面</h1>
                <input type="submit" value="增加楼房" onclick="act1()">
                <input type="submit" value="删除楼房" onclick="act2()">
                <input type="submit" value="修改楼房" onclick="act3()">
                <input type="submit" value="查询楼房" onclick="act4()">
            </form>
        </div>
        <div class="row" id="bottom_box">
            非经营性网站主办单位有效证件号： （京）教社证字V70040 京ICP备05026716号 地址：北京市房山区窦大路12号 电话：010-81303630 邮编：京ICP备05026716号
        </div>




    </div>
<script>
    function act1() {
        document.testForm.action="{% url 'tower:add_building' %}";
        }
    function act2() {
        document.testForm.action="{% url 'tower:del_building' %}";
        }
    function act3() {
        document.testForm.action="{% url 'tower:change' %}";
        }
    function act4() {
        document.testForm.action="{% url 'tower:refer_building' %}";
        }
</script>
</body>
</html>